package org.tgcloud.group.repository;

import org.apache.ibatis.annotations.Param;
import org.tgcloud.group.entity.ProjectProcessRead;
import org.tgcloud.group.web.controller.dto.process.ProcessToUser;

import java.util.List;

/**
* @Author: zhy
* @Created: 2025-08-19-下午1:20
* @Description: ${description}
*/
public interface ProjectProcessReadMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ProjectProcessRead record);

    int insertSelective(ProjectProcessRead record);

    ProjectProcessRead selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ProjectProcessRead record);

    int updateByPrimaryKey(ProjectProcessRead record);

    int insertBatch(@Param("userList") List<ProcessToUser> toUserList, @Param("processId") Integer processId);
}